<template>
  <div class="content-wrapper">
    <div class="nav">
      <el-breadcrumb>
        <el-breadcrumb-item :to="{ path: '/administration-personalInformation' }">人事档案</el-breadcrumb-item>
        <el-breadcrumb-item>个人信息</el-breadcrumb-item>
      </el-breadcrumb>
    </div>
    <div class="content">
      <personalDetail ref="personalDetail"></personalDetail>
    </div>
  </div>
</template>

<script>
import dingMixin from  '@/mixins/ding'
import personalDetail from './personal-detail'
export default {
  name: '',
  data () {
    return {
      
    };
  },
  components: {
    personalDetail
  },
  mixins: [dingMixin],
  mounted () {
    this.$nextTick(() => {
      this.$refs.personalDetail.init(this.userInfo.dingId, true, false, false);
    })
  },
  methods: {}
}
</script>

<style lang='scss' scoped>
.content-wrapper {
  height: 100vh;
  min-width: 500px;
  .nav {
    display: flex;
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    justify-content: space-between;
    border-bottom: 1px solid #DCDFE6;
    .el-breadcrumb {
      display: flex;
      align-items: center;
      .el-breadcrumb__item {
        float: none;
      }
    }
  }
  .content {
    height: calc(100vh - 50px);
    overflow: auto;
  }
}
</style>